package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title		:DepGroup.java
 * @description	:专业组
 * @author		:mazhaoyan
 * @date		:2015年4月2日
 * @version     :1.0
 * @copyright   :DHCC 2013-2014 
 */
@Entity
@Table(name="T_DEPGROUP", schema = "DRGs")
public class DepGroup extends KoalaLegacyEntity {

	private static final long serialVersionUID = -2853521744632476385L;
	
	
	/**
	 * 空构造函数
	 */
	public DepGroup() {
		super();
	}
	
	

	/**
	 * @param depGroupCode 专业组组代码	
	 * @param depGroupDesc 专业组名称
	 * @param depgroupLeader 专业组负责人
	 * @param depGroupPhone 专业组电话
	 * @param depGroupOrder 专业组排序
	 */
	public DepGroup(String depGroupCode, String depGroupDesc,
			String depgroupLeader, String depGroupPhone, Double depGroupOrder) {
		super();
		this.depGroupCode = depGroupCode;
		this.depGroupDesc = depGroupDesc;
		this.depgroupLeader = depgroupLeader;
		this.depGroupPhone = depGroupPhone;
		this.depGroupOrder = depGroupOrder;
	}

	/**
	 * @param depGroupCode
	 * @param depGroupDesc
	 */
	public DepGroup(String depGroupCode, String depGroupDesc) {
		super();
		this.depGroupCode = depGroupCode;
		this.depGroupDesc = depGroupDesc;
	}

	//专业组组代码	
	@Id
	@Column(name = "DEPGROUP_CODE",nullable=false)
	private String depGroupCode;
	
	//专业组名称
	@Column(name = "DEPGROUP_DESC",nullable=false)
	private String depGroupDesc;
	
	//专业组负责人
	@Column(name = "DEPGROUP_LEADER")
	private String depgroupLeader;
	
	//专业组电话
	@Column(name = "DEPGROUP_PHONE")
	private String depGroupPhone;
	
	//专业组排序
	@Column(name = "DEPGROUP_ORDER")
	private Double depGroupOrder;
	
	

	public String getDepGroupCode() {
		return depGroupCode;
	}

	public void setDepGroupCode(String depGroupCode) {
		this.depGroupCode = depGroupCode;
	}

	public String getDepGroupDesc() {
		return depGroupDesc;
	}

	public void setDepGroupDesc(String depGroupDesc) {
		this.depGroupDesc = depGroupDesc;
	}

	public String getDepgroupLeader() {
		return depgroupLeader;
	}

	public void setDepgroupLeader(String depgroupLeader) {
		this.depgroupLeader = depgroupLeader;
	}

	public String getDepGroupPhone() {
		return depGroupPhone;
	}

	public void setDepGroupPhone(String depGroupPhone) {
		this.depGroupPhone = depGroupPhone;
	}


	public Double getDepGroupOrder() {
		return depGroupOrder;
	}



	public void setDepGroupOrder(Double depGroupOrder) {
		this.depGroupOrder = depGroupOrder;
	}



	@Override
	public Serializable getId() {
		return depGroupCode;
	}

	@Override
	public String[] businessKeys() {
		return null;
	}

}
